.market-detail-container {
  padding: 20px;

  .detail-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;

    .detail-header {
      margin-bottom: 24px;
      border-bottom: 1px solid #ebeef5;
      padding-bottom: 16px;

      .title {
        font-size: 24px;
        color: #303133;
        margin-bottom: 16px;
        font-weight: bold;
      }

      .meta-info {
        display: flex;
        gap: 16px;
        color: #909399;
        font-size: 14px;

        .status {
          &.pending {
            color: #e6a23c;
          }
          &.completed {
            color: #67c23a;
          }
        }
      }
    }

    .detail-content {
      .info-section {
        margin-bottom: 24px;

        h3 {
          font-size: 16px;
          color: #303133;
          margin-bottom: 16px;
          font-weight: bold;
        }

        .info-row {
          margin-bottom: 12px;
          display: flex;
          align-items: center;

          .label {
            color: #909399;
            width: 80px;
            flex-shrink: 0;
          }

          .value {
            color: #303133;
          }
        }

        .description {
          color: #606266;
          line-height: 1.6;
          margin-top: 8px;
        }
      }
    }

    .detail-footer {
      margin-top: 24px;
      display: flex;
      justify-content: flex-end;
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid #ebeef5;

      button {
        padding: 10px 32px;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.3s;

        &.accept-btn {
          background: #409eff;
          color: white;

          &:hover {
            background: #66b1ff;
          }

          &:disabled {
            background: #a0cfff;
            cursor: not-allowed;
          }
        }

        &.return-btn {
          background: #909399;
          color: white;

          &:hover {
            background: #a6a9ad;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .market-detail-container {
    padding: 12px;

    .detail-card {
      padding: 16px;

      .detail-footer {
        flex-direction: column;
        
        button {
          width: 100%;
        }
      }
    }
  }
}